$OpenBSD: patch-config_OpenEXR_CTL_pc_in,v 1.1 2015/09/22 18:38:10 pascal Exp $
--- config/OpenEXR_CTL.pc.in.orig	Tue Jun  3 03:11:24 2014
+++ config/OpenEXR_CTL.pc.in	Fri Sep 11 14:47:59 2015
@@ -1,11 +1,12 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-OpenEXR_includedir=@includedir@/OpenEXR
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@INSTALL_BIN_DIR@
+libdir=@INSTALL_LIB_DIR@
+includedir=@INSTALL_INCLUDE_DIR@
+OpenEXR_includedir=@INSTALL_INCLUDE_DIR@/OpenEXR
+CTL_includedir=@INSTALL_INCLUDE_DIR@/CTL
 
 Name: OpenEXR_CTL
 Description: Simplified OpenEXR interface to CTL
-Version: @OPENEXR_CTL_VERSION@
-Libs: -L${libdir} -lIlmImfCtl @OPENEXR_LDFLAGS@ @CTL_LDFLAGS@
-Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir}
+Version: @CTL_VERSION@
+Libs: -L${libdir} -lIlmImfCtl -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lIlmCtlSimd -lIlmCtlMath -lIlmCtl -pthread
+Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir} -I${CTL_includedir}
